package edu.sctu.practice.class02.hujie.cgs.practice02.test08;

/**
 * Created by hj on 2015/10/22.
 */
public class Car extends Vehicles {
    public int seats = 4;

    public Car(String brand, String color) {
        //需要在父类里初始化
        super(brand, color);
    }

    public void showCar() {
        System.out.println("轿车的座位数："+seats);
    }
}
